package com.ddxcloud.movie.data.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderDetailsDTO {

    @Schema(description = "AppId")
    private Long appId;

    @Schema(description = "平台订单编号")
    private String orderNo;

    @Schema(description = "商户内部订单号")
    private String outTradeNo;

    @Schema(description = "订单金额")
    private BigDecimal orderAmount;

    @Schema(description = "退款金额")
    private BigDecimal refundAmount;

    @Schema(description = "佣金")
    private BigDecimal commission;

    @Schema(description = "订单状态")
    private Integer status;

    @Schema(description = "取票码")
    private String codes;

    @Schema(description = "附加数据")
    private String attach;

    @Schema(description = "下单手机号码")
    private String mobile;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "最后修改时间")
    private LocalDateTime updateTime;

    @Schema(description = "换座信息")
    private String seatsChange;

    @Schema(description = "回调地址")
    private String callbackUrl;
}
